package SQL.plan;

import SQL.scan.DistinctScan;
import Transaction.Transaction;

public class DistinctPlan extends Plan {

	/**
	 * @param p
	 * @param dbname
	 * @param tx
	 * @throws Exception 
	 */
	public DistinctPlan(Plan p, String dbname, Transaction tx) throws Exception {
		scan = new DistinctScan(p.open(), dbname, tx);
	}

}
